package com.sc.nft.entity.dto;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
public class TransferChainCollectionDTO   {


    @ApiModelProperty(value = "持有人手机号")
    @NotBlank(message = "持有人手机号不能为空")
    private String fromUserTel;

    @ApiModelProperty(value = "藏品Id")
    @NotNull(message = "藏品Id不能为空")
    private Long collectionId;

    @ApiModelProperty(value = "目标人手机号")
    @NotBlank(message = "目标人手机号不能为空")
    private String toUserTel;
    @ApiModelProperty(value = "数量")
    @NotNull(message = "数量不能为空")
    @Min(value = 1L,message = "数量不能小于1")
    private int count;
}
